<div class="time-line">
    <div class="cell" ng-repeat="item in dataModel track by $index">
        <div class="date" ng-if="item.showDate">{{item.createDate | YbDate:'yyyy-MM-dd'}} {{item.createDate | YbWeek}}</div>
        <div class="dot"></div>
        <div class="line"></div>
        <div class="time">{{item.createDate | YbDate:'HH:mm:ss'}}</div>
        <div class="msg">
           {{item.address}}
        </div>
    </div>
    <div class="cell" ng-if="!!canEnter">
        <div class="date" ng-if="showCurTime">{{curTime | YbDate:'yyyy-MM-dd'}} {{curTime | YbWeek}}</div>
        <div class="dot"></div>
        <div class="line"></div>
        <div class="time">{{curTime | YbDate:'HH:mm:ss'}}</div>
        <div class="msg cursor-pointer base-color" ng-if="!formShow">
            <span ng-click="switchForm()">录入物流信息</span>&emsp;
            <span ng-click="goodsReceive()">到货</span>
        </div>
        <div class="msg" ng-if="!!formShow">
            <textarea class="form-control m-b-xs" ng-model="timeFrameNew.address" maxlength="100" ng-class="{'error': !timeFrameNew.address && submitted}"></textarea>
            <button class="btn btn-primary btn-sm" ng-click="submit()">提交</button>
            <button class="btn btn-default btn-sm" ng-click="switchForm()">取消</button>
        </div>
    </div>
</div>